/**
 * 
 */
package com.dy.agent.agent.api.exception;

/**
 * @author leiruiqi
 *
 */
public class BusinessException extends CommonException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3408010804817011616L;

	public BusinessException(BaseErrorCode errorCode) {
		this.errorCode = errorCode;
	}

	public BusinessException(BaseErrorCode errorCode, String message) {
		this.message = message;
		this.errorCode = errorCode;
	}
}
